package com.mxc.scratch.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lww.springcloudapi.entity.TabEmployee;
import com.lww.springcloudapi.entity.TabGgcardInfo;
import com.lww.springcloudapi.entity.TabGgcardObtain;
import com.lww.springcloudapi.entity.TabGgcardStock;
import com.lww.springcloudapi.pojo.TabHallUser;
import com.lww.springcloudapi.vo.CardObtain;
import com.lww.springcloudapi.vo.InfoInput;
import com.lww.springcloudapi.vo.InfoLog;

import java.util.List;

/**
 * <p>
 * 刮刮卡信息表 服务类
 * </p>
 *
 * @author SHEN
 * @since 2021-03-11
 */
public interface TabGgcardInfoService extends IService<TabGgcardInfo> {
    /**
     * 刮奖卡管理模块录入业务
     *
     * @param info Input
     * @return
     */
    public boolean inserInfo(Integer prizelevel,Integer stocknum,TabEmployee tabEmployee);


    /**
     * 刮奖卡管理模块修改业务
     *
     * @param
     * @return
     */
    public boolean updateInfo(TabGgcardInfo tabGgcardInfo,TabEmployee tabEmployee);

    /**
     * 刮奖卡管理模块删除业务
     *
     * @param
     * @return
     */
    public boolean deleteInfo(String cardno);


    /**
     * 刮奖卡管理模块领取业务查询刮刮卡
     * @return
     */
    String listScrapingCard(String yhpnumber,String glypnumber);

    /**
     * 刮奖卡管理模块领取业务领取刮刮卡
     * @param cardObtain
     * @return
     */
    boolean getAScrapingCard(CardObtain cardObtain);


    /**
     * 刮奖卡管理模块查询业务流程图
     */
    Page queryByAreaId(String acptsiteid,String prizelevel, String state, Integer pageNo, Integer pageSize);
}
